package cn.cloud.all.security.oauth2.provider.token;

import cn.cloud.all.security.oauth2.provider.OAuth2Authentication;

/**
 * Strategy interface for extracting a unique key from an {@link OAuth2Authentication}.
 */
public interface AuthenticationKeyGenerator {

    String extractKey(OAuth2Authentication authentication);

}
